<div class='input ETags' id='<?php echo $this->id;?>'>
	<?php
		$this->widget('CAutoComplete', array(
		'name'=>get_class($model).'['.$this->id.']',
		'url'=>array('AutoCompleteTags'), 
		#'max'=>10,
		'minChars'=>1, 
		'delay'=>200,
		'matchCase'=>false,
		'htmlOptions'=>array('size'=>25, 'maxlength'=>64),
		#'mustMatch'=>true,
		'autoFill'=>true,
		'multiple'=>false,
	));
	?><input type='button' value='+' />
	<span class='Etags-result'>
	<?php if($model->{$name}): ?>
	<?php foreach($model->{$name} as $tag): ?>
		<a href='#'><?php echo $tag; ?><input type='hidden' name='<?php echo get_class($model).'['.$this->id.'][]'; ?>' value='<?php echo $tag?>' /></a>
	<?php endforeach; ?>
	<?php endif; ?>
	</span>
</div>